package gui;

import types.Menu;
import types.MenuBar;

public class TestClass implements IObserver
{

	static Menu m = null;

	/**
	 * @param args
	 */
	public void test()
	{
		FrmMenues f = new FrmMenues();
		f.registerInterest(this);
		f.setVisible(true);
		
//		FrmMenu frm = new FrmMenu();
//		frm.registerInterest(this);
//		frm.setVisible(true);

	}

	public void takeResult(Object result, String type)
	{
		MenuBar bar = (MenuBar)result;
		System.out.println(":==> ");
	}

	@Override
	public void executeCommand(Object obj)
	{
		// TODO Auto-generated method stub
		
	}
}
